package com.ztgf.shopping.models.dto.epg;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.ztgf.common.dto.BaseDTO;

/**
 * 聚合页分类商品DTO
 *
 * @author YUE
 * @Date 2020-06-04 15:38:23
 */
@Data
@TableName("epg_aggregation_category_commodity_relation")
@ApiModel(value="聚合页分类商品对象", description="聚合页分类商品对象")
public class EpgAggregationCategoryCommodityRelationDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "频道id")
    private Long categoryId;
    @ApiModelProperty(value = "商品id")
    private Long commodityId;
    @ApiModelProperty(value = "是否发布 0未发布，1发布")
    private Integer isPublish;
    @ApiModelProperty(value = "排序 默认倒序")
    private Integer sort;
    @ApiModelProperty(value = "1小图 2大图")
    private Integer size;
    @ApiModelProperty(value = "图片地址")
    private String url;
}